<%@ page pageEncoding="UTF-8"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.base.DatabaseObject"%>
<%@page import="com.base.DatabaseDAO"%>
<%@page import="com.base.Config"%>
<%@page import="java.math.BigDecimal"%>
<%@page import="com.utils.LOBs"%>
<%@page import="java.sql.Clob"%>

<%@include file="inc-header.jsp"%><!-- MAIN CONTENT -->
<div class="box bottom10">
	<%@include file="inc-nav-header.jsp"%>
	<%
	String sId = Utils.getParam(request, "id", "0");
	String sPage = Utils.getParam(request, "page", "1");
	
	DatabaseObject lotteryresult = contentDAO.getLotteryBrand(new BigDecimal(sId));
	//int currPage = Integer.parseInt(sPage);
	//int rowsPerPage = 7;
	
	%>
	<!-- BODY CONTENT -->
	<div class="tab2">
		<%@include file="dichvu-adv.jsp" %> >>
		<a href="lottery.jsp?act=dv">Xổ số</a> 
	</div>
	<!--end .tab2-->
	<div class="box clearfix">
		<div class="title">
			<h3>
				<strong></strong>
			</h3>
			<%
			if (!StringTool.isEmptyOrNul(sId)) {%>
			<li>
			<p class="MsoNormal" style="text-align: justify; line-height: normal;">
		    <span style="font-size: 10pt; font-family: Arial,sans-serif">
		     <%=lotteryresult.getAttribute().get("value") == null?"":LOBs.readClob((Clob)lotteryresult.getAttribute().get("value")).replaceAll("\n", "<br/>")%>
			</span></p>
			</li>
		<%}%>
		</div>
	</div>
	<!-- END BODY CONTENT -->
</div>
<!--end .box bottom10-->
<%@include file="inc-nav-bottom.jsp"%>
<!-- END MAIN CONTENT -->
<%@include file="inc-footter.jsp"%>
